package com.uzykj.modules.blog.entity;

import com.uzykj.core.persistence.DataEntity;
import com.uzykj.modules.sys.entity.User;

/**
 * @author ghostxbh
 * @date 2020/7/8
 * 评论
 */
public class BlogReview extends DataEntity<BlogReview> {

    private BlogNote note;

    private String contents;

    private User reviewer;

    private String mail;

    private String homepage;

    private String github;

    private Integer support;

    private Integer against;

    public BlogReview() {
    }

    public BlogReview(String id) {
        super(id);
    }

    public BlogNote getNote() {
        return note;
    }

    public void setNote(BlogNote note) {
        this.note = note;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents == null ? null : contents.trim();
    }


    public User getReviewer() {
        return reviewer;
    }

    public void setReviewer(User reviewer) {
        this.reviewer = reviewer;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail == null ? null : mail.trim();
    }

    public String getHomepage() {
        return homepage;
    }

    public void setHomepage(String homepage) {
        this.homepage = homepage == null ? null : homepage.trim();
    }

    public String getGithub() {
        return github;
    }

    public void setGithub(String github) {
        this.github = github == null ? null : github.trim();
    }

    public Integer getSupport() {
        return support;
    }

    public void setSupport(Integer support) {
        this.support = support;
    }

    public Integer getAgainst() {
        return against;
    }

    public void setAgainst(Integer against) {
        this.against = against;
    }
}